<!DOCTYPE html>
<html lang="zh-cmn-Hans"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>索引</title>
    <script src="/jquery-3.4.1.min.js" th:src="@{/jquery-3.4.1.min.js}"></script>
    <script src="/popper.min.js" th:src="@{/popper.min.js}"></script>
    <link href="/bootstrap.min.css" rel="stylesheet" th:href="@{/bootstrap.min.css}" type="text/css">
    <script src="/bootstrap.min.js" th:src="@{/bootstrap.min.js}"></script>
</head>
<body>
<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <h1>٩( ´︶` )各种系统链接( ´︶` )۶</h1>
        </div>
    </div>
    <div class="row">
        <div class="col-12">
            <!--<table border="1" class="table">-->
            <table class="table table-striped table-bordered table-sm">
                <thead class="thead-dark">
                <tr>
                    <th scope="col">id</th>
                    <th scope="col">名称</th>
                    <th scope="col">地址</th>
                    <th scope="col">------</th>
                    <th scope="col">备注</th>
                </tr>
                </thead>
                <tbody>
                <tr th:if="${linkList.size()} eq 0">
                    <td colspan="5">没有信息！！</td>
                </tr>
                <tr th:each="link : ${linkList}">
                    <td th:text="${link.id}"></td>
                    <td th:text="${link.name}"></td>
                    <td th:text="${link.address}"></td>
                    <td>
                        <a th:href="${link.address}">跳转</a>
                    </td>
                    <td th:text="${link.memo}"></td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>